package com.wecommodule.bpm.ext;

import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableAdminServer
@EnableAsync
@EnableScheduling
@MapperScan(basePackages = "com.wecommodule.bpm.ext.**.mapper")
@ComponentScan(basePackages = "com.wecommodule.bpm.ext.*")
@SpringBootApplication
public class BpmExtBaseApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(BpmExtBaseApplication.class, args);
    }

}
